# Description: SDL MPEG oynatıcı kitaplığı.
# URL: http://www.lokigames.com/development/smpeg.php3
# Packager: milisarge
# Depends on: sdl

name=smpeg
version=0.4.5
release=2
source=(http://ftp.slackware.com/pub/vectorlinux/VL64-7.0/source/sourceVL/smpeg/0.4.5/src/smpeg-0.4.5.tar.gz
	smpeg-mpegaudiosdl.patch
	smpeg-0.4.4_m4.patch)

build() {
	cd smpeg-$version
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--disable-static \
		--enable-gtk-player=no
#	sed -i -e 's|\(libsmpeg_la_LDFLAGS = .*\)|\1 -lstdc++|' Makefile
	make
	make install DESTDIR=$PKG
#	rm $PKG/usr/man/man1/gtv.1
}

